package com.example.properties;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "msg-sy")
@Data
@NoArgsConstructor
public class msgConfig {
    private String name;
    private String age;
}
